package com.lnsf.bookstore.web.bookSpecification.service.impl;

import com.lnsf.bookstore.web.bookSpecification.dao.ApiBookSpecificationMapper;
import com.lnsf.bookstore.web.bookSpecification.service.ApiBookSpecificationService;
import com.lnsf.bookstore.web.bookSpecification.vo.ApiBookSpecification;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ApiBookSpecificationServiceImpl implements ApiBookSpecificationService {
    @Autowired
    private ApiBookSpecificationMapper apiBookSpecificationMapper;

    @Override
    public List<ApiBookSpecification> quertList(Map<String, Object> map) {
        return apiBookSpecificationMapper.queryList(map);
    }

    public ApiBookSpecification queryObject(String id){
        return apiBookSpecificationMapper.queryObject(id);
    }
}
